package org.iteasy.framework.base;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;

/**
 * 基础 controller
 * @param <S>
 */
public class BaseController<S extends BaseService<T>,T> {

    protected Logger logger = LoggerFactory.getLogger(this.getClass());

    @Autowired
    private S service;

    private S getService() {
        return this.service;
    }

}
